<link href="{dede:global.cfg_skin/}/css/style.css" rel="stylesheet" type="text/css"/>
<script src="{dede:global.cfg_skin/}/js/ajaxlogin.js" type="text/javascript"></script>
<script src="{dede:global.cfg_skin/}/js/modernizr.js" type="text/javascript"></script>
<script src="{dede:global.cfg_skin/}/js/velocity.min.js" type="text/javascript"></script>
<script src="{dede:global.cfg_skin/}/js/tmain.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript" src="{dede:global.cfg_cmsurl/}/include/dedeajax2.js"></script>
<script language="javascript" type="text/javascript">
    var newarr = window.location.href.split('/');
    if (newarr[2] != 'web.bwc.com' && newarr[2] != 'tu.ltpmx.com') {
        newarr[2] = 'tu.ltpmx.com';
        var newUrl = newarr.join('/');
        window.location.href = newUrl;
    }

    function CheckLogin() {

        var taget_obj = document.getElementById('huiyuan');

        myajax = new DedeAjax(taget_obj, false, false, '', '', '');

        myajax.SendGet2("{dede:global.cfg_memberurl/}/ajax_loginsta.php");

        DedeXHTTP = null;

    }

</script>
<script>
    var _hmt = _hmt || [];
    (function () {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?08dbda8bbd5d3bfb2d866a7b8e75b523";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
    })();
</script>

<script language="javascript" type="text/javascript">

    function CheckLogins() {

        var taget_obj = document.getElementById('huiyuans');

        myajax = new DedeAjax(taget_obj, false, false, '', '', '');

        myajax.SendGet2("{dede:global.cfg_memberurl/}/ajax_loginsta.php");

        DedeXHTTP = null;

    }

</script>
<script src="{dede:global.cfg_skin/}/js/so.js" type="text/javascript"></script>
<style>
    .nav-list:nth-child(5) {
        margin-top: 0px !important;
    }

    .nav-list:nth-child(6) {
        margin-top: 0px !important;
    }

    .nav-list:nth-child(7) {
        margin-top: 0px !important;
    }
</style>
<div class="cd-quick-view" style="position: fixed;display: none">
    <div class="cd-slider-wrapper">
        <ul class="cd-slider">
            <li class="selected"><img src="{dede:global.cfg_skin/}/images/item-1.png" alt="Product 1"></li>
        </ul> <!-- cd-slider -->
    </div> <!-- cd-slider-wrapper -->
    <a href="#0" class="cd-close">X</a>
</div>
<div class="qt-header" style="display:block">
    <div class="w1200">
        <div class="qt-header-box clearfix">
            <div class="qt-header-nav fl">
                <div class="nav-list on"><a href="/">首页</a></div>
                <!--<div class="nav-list notify-red"><a href="javascript:void(0)" rel="external nofollow">所有分类<i-->
                <!--class="icon-down" style="margin-left:5px;"></i></a>-->
                <!--<div class="down-box">-->
                <!--<dl class="list-box">-->
                <!--{dede:channelartlist typeid='1,19,6,4,26'}-->
                <!--<dt><a href="{dede:field name='typeurl'/}">{dede:field name='typename'/}</a></dt>-->
                <!--{dede:channel type='son' noself='yes'}-->
                <!--<dd class="list"><a href="[field:typeurl/]" target="_blank"> <i-->
                <!--class="[field:typenameen/]"></i>[field:typename/] </a></dd>-->
                <!--{/dede:channel}-->

                <!--{/dede:channelartlist}-->
                <!--</dl>-->
                <!--</div>-->
                <!--</div>-->
                {dede:channelartlist typeid="1,19,26,30,32,49"}
                <div class="nav-list"><a href="{dede:field name='typeurl'/}">{dede:field name='typename'/}</a>
                    <div class="down-box">
                        <div {dede:field name=typeid runphp="yes" }
                             global $dsql;
                             $sql="SELECT id From `#@__arctype` WHERE reid='@me' And ishidden<>1 order by sortrank asc limit 0, 100 "
                             ;
                             $row=$dsql->GetOne($sql);
                            @me=is_array($row)?'class="list-box-l"':'style="display:none"';
                            {/dede:field}>

                            {dede:channel type='son' noself='yes'} <a href="[field:typeurl/]"> <i
                                    class="[field:typenameen/]"></i> [field:typename/] <em>([field:id
                                function='arcgetnum(@me)'/])</em> </a> {/dede:channel}
                        </div>
                    </div>
                </div>
                {/dede:channelartlist}
                <!--<div class="nav-list"><a> • • •</a>-->
                <!--<div class="down-box">-->
                <!--<div class="list-box-ls"> {dede:channel typeid=''} <a href="[field:typeurl/]">[field:typename/] </a>-->
                <!--{/dede:channel}-->
                <!--</div>-->
                <!--</div>-->
                <!--</div>-->
            </div>
            <div class="qt-header-right fr">
                <div class="vip-center" style="line-height: 0px !important;">
                    <ul class="cd-items cd-container">
                        <li class="cd-item">
                            <img src="{dede:global.cfg_skin/}/images/item-1.png" alt="Item Preview">
                            <a href="http://tu.ltpmx.com/user/buy.php" class="cd-trigger">
                                <!--<i class="icon-vip" style="display: inline-block; vertical-align: middle;"></i>-->
                                <i class="icon-vip" style="display: inline-block; vertical-align: middle;"></i>
                                <p style="font-size: 13px;color: #11AF53;padding-left: 30px;margin-top: -8px;">VIP充值</p>
                            </a>
                        </li>
                    </ul>
                </div>
                <div class="login-before login-1" style="display:inline-block;line-height: 50px" id="huiyuan">
                    <a href="#" class="qt-btn btn-green plogin" id="loginBtn">请登录</a>
                    <a href="#" id="registerBtn">免费注册</a>
                </div>
                <script language="javascript" type="text/javascript">CheckLogin();</script>
            </div>
        </div>
    </div>
</div>
<div class="qt-header-search" id="qt-header-search" style="display:block">
    <div class="w1200">
        <div class="qt-logo-x"><a class="a_url" href="{dede:global.cfg_basehost/}"></a></div>
        <div class="qt-search-input">
            <form action="/plus/search.php" method="get" id="searchForm" name="searchForm"
                  onsubmit="return checkSearchForm()">
                <input type="hidden" name="kwtype" value="0"/>
                <input type="hidden" name="q" value=""/>
                <input type="hidden" id="type_id" name="typeid" value='0'/>
                <!--<div class="search-type search-type2">全站</div>
                <div class="type-box type-box1" style="display:none;"> <a href="javascript:;" rel="0" style="display:none;">全站</a> <a href="javascript:;" rel="1">原创</a> <a href="javascript:;" rel="2">优质</a> </div>-->
                <div class="search-input">
                    <input class="js-so-new1" name="keyword" type="text">
                </div>
                <p class="qt-btn btn-green-linear search-btn1">
                    <button type="submit"><i class="icon-search"></i></button>
                </p>
            </form>
            <!--<p class="hot-search"> <span>热门搜索：</span> {dede:hotwords  num=8  subday=365 maxlength=16/} </p>-->
        </div>
    </div>
</div>
<div class="qt-model login-model" style="display:none">
    <div class="model-bg"></div>

    <!--第三方帐号登录-->

    <div class="model-content j-default"><a href="javascript:;" class="model-close" rel="external nofollow">x</a>
        <div class="model-logo"></div>
        <p class="login-title"><span>使用第三方帐号登录</span></p>
        <div class="login-others">
            <!--<a href="/yiqiu_login_app/api/qq" class="other-logo logo-qq"></a>-->
            <a id="pc_wechat" href="/yiqiu_login_app/api/weixin" class="other-logo logo-wechat"></a>
            <!--<a href="/yiqiu_login_app/api/weibo" class="other-logo logo-weibo"></a>-->
        </div>
        <p class="text-target"><a href="javascript:void(0)" class="show-login"/>站内号登录</a></p>
        <p class="login-text login-right">还没有帐号？<a href="javascript:void(0)" class="to-login text-green">注册新帐号</a></p>
    </div>

    <!--手机验证码登录-->

    <div class="model-content j-captcha-login" id="denglu-1" style="display:none"><a href="javascript:void(0)"
                                                                                     class="model-close">x</a> <a
            href="javascript:void(0)" class="back-login"><
        <返回
    </a>
        <div class="model-logo"></div>
        <p class="login-title"><span>使用站内号登录</span></p>
        <form name="form1" method="post" action="/user/index_do.php" onsubmit="return LoginSubmit();">
            <input type="hidden" name="fmdo" value="login">
            <input type="hidden" name="dopost" value="login">
            <input type="hidden" name="gourl" value="{dede:global.cfg_basehost/}{dede:field name='arcurl'/}" id="gourl">
            <div class="input-inline">
                <input type="text" name="userid" class="user-login" placeholder="请输入用户名" id="loginphone"
                       autocomplete="off">
                <p class="warning-text" style="display:none;" id="lophone"><i class="warning-icon"></i><span></span></p>
            </div>
            <div class="input-inline">
                <input type="password" name="pwd" class="user-pass login-pass" id="loginpwd" placeholder="请输入密码">
                <p class="warning-text" style="display:none" id="logpwd"><i class="warning-icon"></i><span></span></p>
            </div>
            <div class="input-inline" style="width:160px;">
                <input type="text" name="vdcode" class="user-pass login-pass" style="width:155px;" id="loginvdcode"
                       placeholder="请输入验证码">
                <img id="vdimgck" class="btn-captcha" align="absmiddle" onclick="this.src=this.src+'?'" title="看不清？点击更换"
                     src="/include/vdimgck.php" style="cursor:pointer;width: 68px;height: 24px;margin: 8px;"/><span
                    id="_vdcodelmsg"></span>
                <p class="warning-text" style="display:none" id="lovdcode"><i class="warning-icon"></i><span></span></p>
            </div>
            <button type="submit" class="model-submit login">登录</button>
        </form>
        <p class="login-text clearfix"><a href="javascript:void(0);" class="text-green to-phone-login fl hide-pass">帐号/密码登录</a>
            <a href="/user/resetpassword.php" class="fr">忘记密码?</a></p>
        <script type="text/javascript">

            $('#h').attr('href', '/user/buy.php');
            if (/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) {

            } else {
                $('#pc_wechat').attr('href', 'http://tu.ltpmx.com/templets/default/wx_login.htm');
            }
            $('.a_url').attr("href", "http://tu.ltpmx.com/index.html");
            // yiqiu_login_app/api/weixin/wx_login.php
            $(".login").click(function () {


                    var phone = $("#loginphone").val();

                    if (phone == '') {


                        $("#lophone").show().fadeOut(3000);

                        $("#lophone").find("span").text("请输入用户名");

                        return false;

                    }


                    var loginpwd = $("#loginpwd").val();

                    if (loginpwd == '') {


                        $("#logpwd").show().fadeOut(3000);

                        $("#logpwd").find("span").text("请输入密码");

                        return false;

                    }


                    var loginvdcode = $("#loginvdcode").val();

                    if (loginvdcode == '') {


                        $("#lovdcode").show().fadeOut(3000);

                        $("#lovdcode").find("span").text("请输入验证码");

                        return false;

                    }


                }
            );

        </script>
    </div>

    <!--手机号注册-->

    <div class="model-content j-waiting" id="zhuce" style="display:none"><a href="javascript:void(0)"
                                                                            class="model-close">x</a> <a
            href="javascript:void(0)" class="back-login"><
        <返回
    </a>
        <div class="model-logo"></div>
        <p class="login-title"><span>网站注册</span></p>
        <form name="form1" method="post" action="/user/reg_new.php" onsubmit="return RegSubmit();">
            <input type="hidden" value="regbase" name="dopost"/>
            <input type="hidden" value="1" name="step"/>
            <input type="hidden" value="个人" name="mtype"/>
            <div class="input-inline">
                <input type="text" name="userid" id="phone" class="user-login" placeholder="用户名(4~16个字符,包含字母/中文/数字/下划线)"
                       autocomplete="off">
                <p class="warning-text" style="display:none;" id="rephone"><i class="warning-icon"></i><span></span></p>
            </div>
            <div class="input-inline">
                <input type="password" class="user-pass login-pass" name="userpwd" placeholder="请输入密码" id="regpwd">
                <p class="warning-text" style="display:none" id="regshow"><i class="warning-icon"></i><span></span></p>
            </div>
            <div class="input-inline">
                <input type="password" class="user-pass login-pass" name="userpwdok" placeholder="请输入确认密码" id="regqpwd">
                <p class="warning-text" style="display:none" id="regqshow"><i class="warning-icon"></i><span></span></p>
            </div>
            <div class="input-inline">
                <input type="text" class="user-pass login-pass" name="email" placeholder="邮箱将会收到激活邮件，请认真填写"
                       id="regemail">
                <p class="warning-text" style="display:none" id="regemshow"><i class="warning-icon"></i><span></span>
                </p>
            </div>
            <button type="submit" class="model-submit login" id="reg_new">注册</button>
        </form>
        <p class="login-text clearfix"><a href="javascript:void(0)" class="text-green to-phone-login fl hide-pass">帐号/密码登录</a>
            <a href="/user/resetpassword.php" class="fr">忘记密码?</a></p>
        <script type="text/javascript">


            $("#reg_new").click(function () {


                    var phone = $("#phone").val();

                    if (phone == '') {


                        $("#rephone").show().fadeOut(3000);

                        $("#rephone").find("span").text("请输入正确的用户名");

                        return false;

                    }


                    var regpwd = $("#regpwd").val();

                    if (regpwd == '') {


                        $("#regshow").show().fadeOut(3000);

                        $("#regshow").find("span").text("请输入密码");

                        return false;

                    }


                    var regqpwd = $("#regqpwd").val();

                    if (regqpwd == '') {


                        $("#regqshow").show().fadeOut(3000);

                        $("#regqshow").find("span").text("请输入确认密码");

                        return false;

                    }


                    var regemail = $("#regemail").val();

                    if (regemail == '') {


                        $("#regemail").show().fadeOut(3000);

                        $("#regemail").find("span").text("请输入邮箱号码");

                        return false;

                    }


                }
            );

        </script>
    </div>

    <!--普通登录-->

    <div class="model-content j-phone-login" style="display:none"><a href="javascript:void(0)" class="model-close">x</a>
        <a href="javascript:void(0)" class="back-login back-login-phone"><
            <返回
        </a>
        <div class="model-logo"></div>
        <p class="login-title"><span>使用账户密码登录</span></p>
        <form name="form1" method="post" action="/user/index_do.php" onsubmit="return LoginSubmit();">
            <input type="hidden" name="fmdo" value="login">
            <input type="hidden" name="dopost" value="login">
            <div class="input-inline">
                <input type="text" class="user-login" name="userid" placeholder="请输入账户" autocomplete="off">
            </div>
            <div class="input-inline">
                <input type="password" name="pwd" class="user-pass login-pass" placeholder="请输入密码" autocomplete="off">
            </div>
            <button type="submit" class="model-submit login">登录</button>
        </form>
        <p class="login-text clearfix"><a href="javascript:void(0)" class="text-green to-captcha-login fl hide-pass">账户登录</a>
            <a href="/user/resetpassword.php" class="fr">忘记密码?</a></p>
    </div>
</div>

<!--下拉搜索-->

<div class="qt-header-other header-fixed" style="visibility: visible; top: -80px;display:none;">
    <div class="w1200">
        <div class="qt-logo"><a href="{dede:global.cfg_basehost/}" title="{dede:global.cfg_webname/}"></a></div>
        <div class="qt-header-box clearfix">
            <div class="qt-header-nav fl">
                <div class="nav-list notify-red"><a href="javascript:;">所有分类 <i class="icon-down"></i></a>
                    <div class="down-box">
                        <dl class="list-box">
                            {dede:channelartlist typeid='1,19,6,4,26'}
                            <dt><a href="{dede:field name='typeurl'/}">{dede:field name='typename'/}</a></dt>
                            {dede:channel type='son' noself='yes'}
                            <dd class="list"><a href="[field:typeurl/]" target="_blank"> <i
                                    class="[field:typenameen/]"></i>[field:typename/] </a></dd>
                            {/dede:channel}

                            {/dede:channelartlist}
                        </dl>
                    </div>
                </div>
            </div>
            <div class="qt-search-input fl" style="width:585px;">
                <form action="/plus/search.php" method="get" id="searchForm" name="searchForm"
                      onsubmit="return checkSearchForm()">
                    <input type="hidden" name="kwtype" value="0"/>
                    <input type="hidden" name="q" value=""/>
                    <input type="hidden" id="type_id" name="typeid" value='0'/>
                    <!--<div class="search-type search-type2"> 全站 </div>
                    <div class="type-box type-box2"> <a href="javascript:;" rel="0" style="display:none;">全站</a> <a href="javascript:;" rel="1">原创</a> <a href="javascript:;" rel="2">优质</a> </div>-->
                    <div class="search-input" style="width:450px;">
                        <input id="js-so-new" class="js-so-new2" name="keyword" type="text" placeholder="" value="">
                    </div>
                    <p class="qt-btn btn-green-linear search-btn2" id="search-btn">
                        <button type="submit"><i class="icon-search"></i></button>
                    </p>
                    <div class="search-res search-res2"></div>
                </form>
            </div>
            <div class="qt-header-right fr">
                <div class="vip-center" style="display: none"><a href="#" target="_blank"> <i class="icon-vip"></i>VIP中心
                </a>
                    <div class="down-box">
                        <div class="message-box"><a href="#"> <i class="design-vip"></i>设计VIP </a> <a href="#"> <i
                                class="office-vip"></i>办公VIP </a></div>
                    </div>
                </div>
                <div class="login-before login-2" style="display:inline-block;" id="huiyuans"><a href="#"
                                                                                                 class="qt-btn btn-green plogin"
                                                                                                 id="loginBtn">请登录</a>
                    <a href="#" id="registerBtn">免费注册</a></div>
                <script language="javascript" type="text/javascript">CheckLogins();</script>
            </div>
        </div>
    </div>
</div>
<script>


    var gourl = window.location.href;

    $("#gourl").val(gourl);


    $(".user-box").hover(function () {

        $(this).find(".down-box").css('display', 'block');

    }, function () {

        $(this).find(".down-box").css('display', 'none');

    })

</script>
<script>

    $(function () {

        $(".nav-list").hover(function () {

            $(this).find('.down-box').css("display", "block");

        }, function () {

            $(this).find('.down-box').css("display", "none");

        })

        $(".vip-center").hover(function () {

            $(this).find('.down-box').css("display", "block");

        }, function () {

            $(this).find('.down-box').css("display", "none");

        })

        $(".search-type").click(function () {

            $('.type-box').css("display", "block");

        })

        $(".type-box").find('a').click(function () {

            $('.type-box').css('display', 'none');

            var html = $(".search-type").html();

            var newhtml = $(this).html();

            $(this).html(html);

            $(".search-type").html(newhtml);

        })

        $(".plogin").click(function () {

            $(".login-model").css("display", "block");

            $(".j-default").css('display', 'block');

        })

        $("#registerBtn").click(function () {

            $(".login-model").css("display", "block");

            $(".j-default").css('display', 'block');

        })

        $(".model-close").click(function () {

            $(".login-model").css("display", "none");


            $(".model-content").css('display', 'none');

        })

        $(".show-login").click(function () {

            $(".j-default").css("display", "none");

            $("#denglu-1").css("display", "block");

        })

        $(".back-login").click(function () {

            $(this).parent('.model-content').css('display', 'none');

            $(".j-default").css("display", "block");

        })

        $(".to-phone-login").click(function () {

            $("#denglu-1").css('display', "none");

            $(".j-phone-login").css('display', 'block');

        })

        $(".back-login-phone").click(function () {

            $(this).parent('.model-content').css('display', 'none');

            $("#denglu-1").css("display", "block");

        })

        $(".back-reg").click(function () {

            $(this).parent('.model-content').css('display', 'none');

            $("#denglu-1").css("display", "block");

        });

        $(".to-login").click(function () {

            $(".j-default").css('display', 'none');

            $("#zhuce").css('display', 'block');

        })

        $(".to-captcha-login").click(function () {

            $(".j-phone-login").css('display', 'none');

            $(".j-captcha-login").css('display', 'block');

        })

    })


</script>
<script>

    $(document).ready(function () {

        $(window).scroll(function () {

            if ($(window).scrollTop() > 174) {

                $(".header-fixed").css('display', 'block');

                $(".header-fixed").css('top', '0');

            } else {

                $(".header-fixed").css('top', '-80px');

                $(".header-fixed").css('display', 'none');

            }

        })

    })

</script>